package com.woniuxy.repayment.service;

import com.woniuxy.commons.request.ResPage;
import com.woniuxy.commons.vo.ProjectVo;
import com.woniuxy.commons.vo.SearchProjectVo;
import com.woniuxy.repayment.vo.RepaymentVo;

import java.util.List;

public interface RepaymentService {
    boolean addRepayment(ProjectVo projectVo);

    boolean checkRepaymentSuccess(String pno);

    ResPage<List<RepaymentVo>> searchRepayment(SearchProjectVo searchProjectVo);

    ResPage<List<RepaymentVo>> searchOverdues(SearchProjectVo searchProjectVo);
}
